/*
 * aqua-firefox-theme
 * omnibar-private.css
 *
 * Copyright (c) 2019 Payson Wallach
 *
 * Released under the terms of the GNU General Public License, version 3
 * (https://gnu.org/licenses/gpl.html)
 */

@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

:root[privatebrowsingmode="temporary"] #nav-bar toolbarspring:first-of-type:before {
  background: url("../icons/user-not-tracked.svg") no-repeat;
  background-size: contain;
  content: "";
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  top: 0;
  opacity: 0.3;
  transform: translate(15px, 0);
}

@media (prefers-color-scheme: dark) {
  :root[privatebrowsingmode="temporary"] #nav-bar toolbarspring:first-of-type:before {
    filter: invert(100%);
  }
}

:root[privatebrowsingmode="temporary"] #nav-bar {
  overflow: hidden;
}

#TabsToolbar .private-browsing-indicator {
  display: none !important;
}
